package com.rk.pethome.user.domain;


import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
public class  User {
    private Integer id;
    //用户名
    private String username;
    //邮箱
    private String email;
    //电话号码
    private String phone;
    //盐值
    private String salt;
    //密码
    private String password;
    //状态 0待激活  1已激活
    private Integer state;
    //年龄
    private Integer age;
    //创建时间
    private Date createtime=new Date();
    private String headImg;
}
